Repository navigation
fix(automations): Name every task field problem in one rejection - #3994
Merged
Merged
Conversation
createAutomation and updateAutomation rejected bad task fields one problem at a time. A call that set instruction, skill, and context, with "this channel" in the instruction, took three rejections to fix, and each one cost the model another call. Check the mode and every given text together and reject once with all of the problems.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
sentry-junior
Bot
force-pushed
the
fix-flaky/automation-task-input-errors
branch
from
November 22, 2026 02:23
4e419c5 to
d86fba9
Compare
Contributor
|
7 screenshot changes — 7 changed · 0 added · 0 removed Review screenshots in Frameshift |
dcramer
approved these changes
Nov 22, 2026
22 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
createAutomationandupdateAutomationrejected bad task fields one problem at a time. A call that setsinstruction,skill, andcontexttogether, with "this channel" in the instruction, has three problems, so the model needed three rejected calls to fix it. In run 44969506566 those extra model steps used up the 60-second idle budget ofevent-automations/management.eval.ts> "when a resource supports the requested event, create the requested event automation".The tools now check the task mode and every given text field (instruction and context) together, and reject once with all of the problems. When all three fields are set, the mode message also says that context goes only with a skill, so dropping
skillalone does not lead to another rejection. The dashboard edit API keeps usingrequireAutomationTaskTextunchanged.via @dcramer.
--
View Session [Sentry]